package simorg;

public enum TestsColumnDefinition {
    ID( "ID", ColumnType.INT_KEY ), 
    TEST_NAME( "COMMON_NAME", ColumnType.SHORT_STRING ),
    TIME_MINUTES( "TIME_MINUTES", ColumnType.INTEGER ),
    DESCRIPTION( "DESCRIPTION", ColumnType.LONG_STRING ),
    ORDER( "ORDER", ColumnType.INTEGER ),
    WEIGHT( "WEIGHT", ColumnType.INTEGER ),
    WEIGHT_COMMENT( "WEIGHT_COMMENT", ColumnType.LONG_STRING );
        
    
    public ColumnType getColumnType() {
        return m_columnType;
    }
    
    
    public String getName() {
        return m_name;
    }

    
    private TestsColumnDefinition( String a_name, ColumnType a_columnType ) {
        this.m_name = a_name;
        this.m_columnType = a_columnType;
    }
    
    
    private final String m_name;
    private final ColumnType m_columnType;
}